// vector::cbegin/cend
#include <iostream>
#include <vector>

int main ()
{

  std::vector<int> myvector(10,10);

  std::cout << "myvector contains:";

  for (std::vector<int>::const_iterator  it = myvector.cbegin(); it != myvector.cend(); ++it)
    	std::cout << *it << ' ';
  std::cout << '\n';

  return 0;
}